﻿namespace Practices.SharePoint.ConsoleApplication {
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Administration;
    using Microsoft.SharePoint.Publishing;
    using System;
    using System.IO;
    using System.Net;
    using System.Windows.Forms;
    using Apps;


    class Program {
        static void Main(string[] args) {
            var siteUrl = "http://practices.contoso.com/sites/Portal";
            using (SPSite site = new SPSite(siteUrl))
            using (SPWeb web = site.OpenWeb()) {
                //using (AppCatalogAccessor accessor = new AppCatalogAccessor(web)) { 
                    
                //}
                web.AllowUnsafeUpdates = true;
            }
            Console.WriteLine("Press any key to exit.");
            Console.ReadKey();
        }
    }
}